package cn.szzsi.common.model;

import cn.szzsi.common.model.base.BaseFooter;

/**
 * 实体类 - 页面底部信息
 * 
 */
public class Footer extends BaseFooter<Footer> {

	private static final long serialVersionUID = 7698222765198914997L;

	public static final Footer dao = new Footer().dao();
	
	public static final String FOOTER_ID = "1";// 记录ID
	
	// 获取平台Footer
	public Footer getAll(){
		return dao.findFirst("select * from mall_footer");
	}
	// 获取平台Footer
	public Footer getAllByUid(){
		return dao.findFirst("select * from mall_footer");
	}
	
	// 获取Footer对象
	public Footer getFooter() {
		return dao.findById(Footer.FOOTER_ID);
	}
}
